package com.rkc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rkc.model.CouponDO;
import org.springframework.data.repository.query.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 冉堃赤
 * @since 2021-10-22
 */
public interface CouponMapper extends BaseMapper<CouponDO> {

    int reduceStock(@Param("couponId") long couponId);
}
